Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(filterable-select): ensure list does not reopen when user clicks option and openOnFocus prop set #6476

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

edleeks87
Copy link
Contributor

fix #6462

Proposed behaviour

Ensures that the SelectList does not reopen when a user selects and Option via clicking and the openOnFocus prop is set.

Current behaviour

The SelectList reopens when a user selects and Option via clicking and the openOnFocus prop is set.

Checklist

  • Commits follow our style guide
  • Related issues linked in commit messages if required
  • Unit tests added or updated if required
  • Cypress automation tests added or updated if required

QA

  • Tested in CodeSandbox/storybook
  • Add new Cypress test coverage if required
  • Carbon implementation matches Design System/designs
  • UI Tests GitHub check reviewed if required

Additional context

Testing instructions

The following CodeSandbox is an example of the broken behaviour.
You can see the new behaviour by looking at the version in the comment by codesandbox[bot].

Copy link

codesandbox-ci bot commented Dec 8, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit dd9e29e:

Sandbox Source
carbon-quickstart Configuration
carbon-quickstart-typescript Configuration
carbon-quickstart PR

@DipperTheDan DipperTheDan self-requested a review December 8, 2023 13:03
@robinzigmond robinzigmond self-requested a review December 8, 2023 13:13
robinzigmond
robinzigmond previously approved these changes Dec 8, 2023
DipperTheDan
DipperTheDan previously approved these changes Dec 8, 2023
…option and openOnFocus prop set

Ensures that the `SelectList` does not reopen when a user selects and `Option` via clicking and the
`openOnFocus` prop is set.

fix #6462
@edleeks87 edleeks87 merged commit 9eaebaa into master Dec 11, 2023
23 checks passed
@edleeks87 edleeks87 deleted the FE-6292-fs branch December 11, 2023 16:21
@carbonci
Copy link
Collaborator

🎉 This PR is included in version 124.2.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

FilterableSelect obejct as value and openOnFocus trigger open on click option
5 participants